package com.cherrypt.api.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cherrypt.api.model.dataobject.Discount;

/**
 * @author intent
 * @date 2019/7/23 20:00
 * @about <link href='http://zzyitj.xyz/'/>
 */
public interface DiscountService extends IService<Discount> {
    void saveRedisDiscount(Discount discount);

    Discount getRedisDiscount(int discountId);

    Discount getDiscount(int discountId);
}
